package com.ruoyi.gwc.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.gwc.domain.TApprovalRepair;

/**
 * 申请维修审批Service接口
 * 
 * @author wp
 * @date 2024-12-13
 */
public interface ITApprovalRepairService extends IService<TApprovalRepair>
{
    /**
     * 查询申请维修审批
     * 
     * @param approvalId 申请维修审批主键
     * @return 申请维修审批
     */
    public TApprovalRepair selectTApprovalRepairByApprovalId(Long approvalId);

    /**
     * 查询申请维修审批列表
     * 
     * @param tApprovalRepair 申请维修审批
     * @return 申请维修审批集合
     */
    public List<TApprovalRepair> selectTApprovalRepairList(TApprovalRepair tApprovalRepair);

    /**
     * 新增申请维修审批
     * 
     * @param tApprovalRepair 申请维修审批
     * @return 结果
     */
    public int insertTApprovalRepair(TApprovalRepair tApprovalRepair);

    /**
     * 修改申请维修审批
     * 
     * @param tApprovalRepair 申请维修审批
     * @return 结果
     */
    public int updateTApprovalRepair(TApprovalRepair tApprovalRepair);

    /**
     * 批量删除申请维修审批
     * 
     * @param approvalIds 需要删除的申请维修审批主键集合
     * @return 结果
     */
    public int deleteTApprovalRepairByApprovalIds(Long[] approvalIds);

    /**
     * 删除申请维修审批信息
     * 
     * @param approvalId 申请维修审批主键
     * @return 结果
     */
    public int deleteTApprovalRepairByApprovalId(Long approvalId);
}
